package com.lrd.snapshotorder.service;

import com.lrd.snapshotorder.entity.SnapshotOrder;
import com.lrd.snapshotorder.protocol.ResultData;
import com.lrd.snapshotorder.protocol.dto.order.SnapshotOrderListDto;
import com.lrd.snapshotorder.protocol.dto.order.SnapshotOrderQueryDto;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface SnapshotOrderService {

    ResultData<List<SnapshotOrderListDto>> snapshotOrderPageList(SnapshotOrderQueryDto queryDto);

    ResultData<List<SnapshotOrder>> snapshotOrderAllList(SnapshotOrderQueryDto queryDto);

    void exportOrder(SnapshotOrderQueryDto queryDto, HttpServletResponse response) throws Exception;

    List<SnapshotOrderListDto> getOrderByBatchNumber(Integer batchNumber);
}
